package com.mashibing.redis.redis_demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class RedisDemoApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(RedisDemoApplication.class, args);
        TestRedis redis = context.getBean(TestRedis.class);
        redis.testRedis();

    }

}
